import styled from '@emotion/styled';
import React from 'react';

interface IFormIframe {
	url: string;
}

const FormIframeContainer = styled.div`
	height: 100%;
`;

const FormIframe = (props: IFormIframe) => {
	const { url } = props;
	return (
		<FormIframeContainer>
			<iframe src={url} frameBorder="0" allowTransparency={true} width="100%" height="100%"></iframe>
		</FormIframeContainer>
	);
};

export default FormIframe;
